﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

using LINQToolKit;
using LINQToolKit.Mapping;
using LINQToolKit.Processors;

namespace LINQToolKit.Douban.Processors
{
    public sealed class WhereProcessor : PropertyProcessor
    {
        public override object FromXml(MetaProperty meta, IEnumerable<XElement> elements)
        {
            return elements.First().Attribute("valueString").GetString();
        }
    }
}
